﻿namespace Sgr.Exceptions
{
    /// <summary>
    /// 异常处理解析器接口
    /// </summary>
    public interface IExceptionHandler
    {
        /// <summary>
        /// 尝试将异常翻译成可读的消息
        /// </summary>
        bool TryTranslate(Exception exception, ref string message);
    }
}